﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using HA.Data;
namespace HA.ModFlow.Controls.UserControls
{
    /// <summary>
    /// ucUserData.xaml 的交互逻辑
    /// </summary>
    public partial class ucUserData : UserControl
    {
        public ucUserData()
        {
            InitializeComponent();
        }
        private List<MultiValue> arry = new List<MultiValue>();

        public List<MultiValue> Arry
        {
            get { return arry; }
            set { arry = value; }
        }

        //private MultiValue mult = new MultiValue();

        //public MultiValue Mult
        //{
        //    get { return mult; }
        //    set { mult = value; }
        //}

        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            this.arry = this.DataContext as List<MultiValue>;
            //Binding bin=new Binding ("ConcValue");
            //this.txtnumber.DataContext = bin;
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            this.arry = this.Tag as List<MultiValue>;
        }
    }
}
